package com.saturday.web.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "filter.args.decrypt")
public class ArgsDecryptFilterConfig extends BaseFilterConfig {

    /**
     * 执行顺序，默认1
     */
    private Integer order = 1;

    /**
     * 不过滤的url，默认""，以逗号分隔
     */
    private String exclusionUrls = "";

    /**
     * 密码字段名，默认"password"，以逗号分隔
     */
    private String passwordFieldNames = "password";

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getExclusionUrls() {
        return exclusionUrls;
    }

    public void setExclusionUrls(String exclusionUrls) {
        this.exclusionUrls = exclusionUrls;
    }

    public String getPasswordFieldNames() {
        return passwordFieldNames;
    }

    public void setPasswordFieldNames(String passwordFieldNames) {
        this.passwordFieldNames = passwordFieldNames;
    }
}
